export let columns = [
    {
        title: '生产订单编号',
        dataIndex: 'code',
        ellipsis: true,
        fixed: 'left',
        width: 200,
        searchIndex: 'code',
        scopedSlots: {
            filterDropdown: 'searchDropdown',
            filterIcon: 'searchIcon',
            customRender: 'code',
        },
    },
    {
        title: '生产负责人',
        dataIndex: 'chargeUserIdText',
        ellipsis: true,
        fixed: 'left',
        width: 180,
        searchIndex: 'chargeUserId',
        scopedSlots: {
            filterDropdown: 'selectPeople',
            filterIcon: 'dateIcon',
            customRender: 'chargeUserIdText'
        },
    },
    {
        title: '工艺路线',
        dataIndex: 'craftName',
        ellipsis: true,
        fixed: 'left',
        width: 180,
        searchIndex: 'craftName',
        scopedSlots: {
            filterDropdown: 'searchDropdown',
            filterIcon: 'searchIcon',
            customRender: 'craftName'
        },
    },
    {
        title: '商品编号',
        dataIndex: 'goodsCode',
        ellipsis: true,
        fixed: 'left',
        width: 180,
        searchIndex: 'goodsCode',
        scopedSlots: {
            filterDropdown: 'searchDropdown',
            filterIcon: 'searchIcon', customRender: 'goodsCode'
        },
    },
    {
        title: '商品名称',
        dataIndex: 'goodsName',
        ellipsis: true,
        width: 180,
        searchIndex: 'goodsName',
        scopedSlots: {
            filterDropdown: 'searchDropdown',
            filterIcon: 'searchIcon',
            customRender: 'goodsName',
        },
    },
    {
        title: '规格',
        dataIndex: 'spec',
        ellipsis: true,
        width: 180,
        searchIndex: 'spec',
        scopedSlots: {
            filterDropdown: 'searchDropdown',
            filterIcon: 'searchIcon',
            customRender: 'spec',
        },
    },
    {
        title: '承诺交期',
        dataIndex: 'promiseDate',
        ellipsis: true,
        width: 180,
        searchIndex: 'promiseDate',
        scopedSlots: {
            filterDropdown: 'datePicker',
            filterIcon: 'dateIcon',
            customRender: 'promiseDate'
        },
    },
    {
        title: '计划开始日期',
        dataIndex: 'planStartTime',
        ellipsis: true,
        width: 180,
        scopedSlots: {
            customRender: 'planStartTime'
        },
    },
    {
        title: '计划完成日期',
        dataIndex: 'planEndTime',
        ellipsis: true,
        width: 180,
        scopedSlots: {
            customRender: 'planEndTime'
        },
    },
    {
        title: '计划生产数量',
        dataIndex: 'planProductNumUnitText',
        ellipsis: true,
        width: 180,
        scopedSlots: { customRender: 'planProductNumUnitText' },
    },
    {
        title: '合同订购数量',
        dataIndex: 'saleNumUnitText',
        ellipsis: true,
        width: 180,
        scopedSlots: { customRender: 'saleNumUnitText', },
    },
    {
        title: '合同订购基本单位数量',
        dataIndex: 'saleBaseNumUnitText',
        ellipsis: true,
        width: 180,
        scopedSlots: { customRender: 'saleBaseNumUnitText', },
    },
    {
        title: '销售合同编号',
        dataIndex: 'contractCode',
        ellipsis: true,
        width: 180,
        searchIndex: 'contractCode',
        scopedSlots: {
            filterDropdown: 'searchDropdown',
            filterIcon: 'searchIcon', customRender: 'contractCode'
        },
    },
    {
        title: '订单提交时间',
        dataIndex: 'createdTime',
        ellipsis: true,
        width: 180,
        searchIndex: 'createdTime',
        scopedSlots: {
            filterDropdown: 'datePicker',
            filterIcon: 'dateIcon', customRender: 'createdTime'
        },
    },
    {
        title: '订单提交人',
        dataIndex: 'createdByText',
        ellipsis: true,
        width: 180,
        searchIndex: 'createdBy',
        multi: true,
        scopedSlots: {
            filterDropdown: 'selectPeople',
            filterIcon: 'dateIcon',
            customRender: 'createdByText',
        },
    },
]
export let allColumn = [
    {
        title: '生产订单编号',
        dataIndex: 'code',
        ellipsis: true,
        fixed: 'left',
        width: 200,
        searchIndex: 'code',
        scopedSlots: {
            filterDropdown: 'searchDropdown',
            filterIcon: 'searchIcon',
            customRender: 'code',
        },
    },
    {
        title: '生产负责人',
        dataIndex: 'chargeUserIdText',
        ellipsis: true,
        fixed: 'left',
        width: 180,
        searchIndex: 'chargeUserId',
        scopedSlots: {
            filterDropdown: 'selectPeople',
            filterIcon: 'dateIcon',
            customRender: 'chargeUserIdText'
        },
    },
    {
        title: '工艺路线',
        dataIndex: 'craftName',
        ellipsis: true,
        fixed: 'left',
        width: 180,
        searchIndex: 'craftName',
        scopedSlots: {
            filterDropdown: 'searchDropdown',
            filterIcon: 'searchIcon',
            customRender: 'craftName'
        },
    },
    {
        title: '商品编号',
        dataIndex: 'goodsCode',
        ellipsis: true,
        fixed: 'left',
        width: 180,
        searchIndex: 'goodsCode',
        scopedSlots: {
            filterDropdown: 'searchDropdown',
            filterIcon: 'searchIcon', customRender: 'goodsCode'
        },
    },
    {
        title: '商品名称',
        dataIndex: 'goodsName',
        ellipsis: true,
        width: 180,
        searchIndex: 'goodsName',
        scopedSlots: {
            filterDropdown: 'searchDropdown',
            filterIcon: 'searchIcon',
            customRender: 'goodsName',
        },
    },
    {
        title: '规格',
        dataIndex: 'spec',
        ellipsis: true,
        width: 180,
        searchIndex: 'spec',
        scopedSlots: {
            filterDropdown: 'searchDropdown',
            filterIcon: 'searchIcon',
            customRender: 'spec',
        },
    },
    {
        title: '承诺交期',
        dataIndex: 'promiseDate',
        ellipsis: true,
        width: 180,
        searchIndex: 'promiseDate',
        scopedSlots: {
            filterDropdown: 'datePicker',
            filterIcon: 'dateIcon',
            customRender: 'promiseDate'
        },
    },
    {
        title: '计划开始日期',
        dataIndex: 'planStartTime',
        ellipsis: true,
        width: 180,
        scopedSlots: {
            customRender: 'planStartTime'
        },
    },
    {
        title: '计划完成日期',
        dataIndex: 'planEndTime',
        ellipsis: true,
        width: 180,
        scopedSlots: {
            customRender: 'planEndTime'
        },
    },
    {
        title: '计划生产数量',
        dataIndex: 'planProductNumUnitText',
        ellipsis: true,
        width: 180,
        scopedSlots: { customRender: 'planProductNumUnitText' },
    },
    {
        title: '合同订购数量',
        dataIndex: 'saleNumUnitText',
        ellipsis: true,
        width: 180,
        scopedSlots: { customRender: 'saleNumUnitText', },
    },
    {
        title: '合同订购基本单位数量',
        dataIndex: 'saleBaseNumUnitText',
        ellipsis: true,
        width: 180,
        scopedSlots: { customRender: 'saleBaseNumUnitText', },
    },
    {
        title: '销售合同编号',
        dataIndex: 'contractCode',
        ellipsis: true,
        width: 180,
        searchIndex: 'contractCode',
        scopedSlots: {
            filterDropdown: 'searchDropdown',
            filterIcon: 'searchIcon', customRender: 'contractCode'
        },
    },
    {
        title: '订单提交时间',
        dataIndex: 'createdTime',
        ellipsis: true,
        width: 180,
        searchIndex: 'createdTime',
        scopedSlots: {
            filterDropdown: 'datePicker',
            filterIcon: 'dateIcon', customRender: 'createdTime'
        },
    },
    {
        title: '订单提交人',
        dataIndex: 'createdByText',
        ellipsis: true,
        width: 180,
        searchIndex: 'createdBy',
        multi: true,
        scopedSlots: {
            filterDropdown: 'selectPeople',
            filterIcon: 'dateIcon',
            customRender: 'createdByText',
        },
    },
]

